/**
 *Copyright (c) 2017- https://gitee.com/allmx/master.git
 * hhqk-lmx:上午10:29:50
 */
package org.hhqk.admin.entity;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Id;

import org.springframework.format.annotation.DateTimeFormat;

/**
 * @author Administrator
 * User.java
 * 2017年11月2日
 * <p>description:</p>
 */
@Entity
public class User {
	@Id
	private int id;
	private String userName;
	private String passWord;
	
	public User(){
		
	}
	
	
	public User(int id, String userName, String passWord) {
		super();
		this.id = id;
		this.userName = userName;
		this.passWord = passWord;
	}


	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassWord() {
		return passWord;
	}
	public void setPassWord(String passWord) {
		this.passWord = passWord;
	}


	@Override
	public String toString() {
		return "User [id=" + id + ", userName=" + userName + ", passWord=" + passWord + "]";
	}
	
	
}
